@model ToDoListWeb.Models.DetailMatterModel
@{
    Layout = null;
}

<div id="found-matter-title">
    <h2 id="extend-found-matter-h2">事项详情</h2>
    <div id="extend-found-matter-button">
        <a onclick="concealExtendBox()">取消</a>
    </div>
</div>
<div id="matter-all-info">
    <h3>用户：@Model.UserName</h3>
    <h3>类型：@Model.TypeName</h3>
    <h3>所属清单：@Model.InventoryName</h3>
    <h3 id="matter-all-info-content" class="p-matter-info">事项内容</h3>
    <textarea disabled="disabled" class="extend-textarea">@Model.Matter.MatterContent</textarea>
    <h3 id="matter-all-info-remark" class="p-matter-info">事项备注</h3>
    <textarea disabled="disabled" class="extend-textarea">@if(Model.Matter.Remark!=null){@Model.Matter.Remark}</textarea>
    @if(Model.Matter.IsFinished)
    {
        <p>事项已完成</p>
    }
    else
    {
        <p>事项未完成</p>
    }
    @if(Model.Matter.IsPastdue)
    {
        <p>事项已过期</p>
    }
    else
    {
        <p>事项未过期</p>
    }
    <p>创建时间：@Model.Matter.CreatTime.ToString("yyyy-MM-dd")</p>
    @if(Model.Matter.OverTime!=null)
    {
        <p>过期时间：@Model.Matter.OverTime.ToString()</p>
    }
    else
    {
        <p>过期时间：-----------</p>
    }
    
</div>